a = 10
b = 20

a, b = b, a  # 直接交换 a 和 b 的值

print("交换后：a =", a, "b =", b)  # 输出：a = 20, b = 10